package com.zwps.biz.dal.db.object;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;

import com.zwps.biz.api.model.dto.strsvrr.StRsvrRDTO;
import com.zwps.biz.dal.constant.TableNameConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 人工观测水库数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(TableNameConstant.ST_RSVR_R_MANUAL)
public class StRsvrRManualDO {
    /**
     * 时间
     */

    private Date tm;

    /**
     * 测站编码
     */

    private String stcd;

    @TableId
    private StRsvrRDTO id;

    /**
     * 库上水位
     */
    @TableField(value = "RZ")
    private BigDecimal rz;

    /**
     * 入库流量
     */
    @TableField(value = "INQ")
    private BigDecimal inq;

    /**
     * 蓄水量
     */
    @TableField(value = "W")
    private BigDecimal w;

    /**
     * 库下水位
     */
    @TableField(value = "BLRZ")
    private BigDecimal blrz;

    /**
     * 出库流量
     */
    @TableField(value = "OTQ")
    private BigDecimal otq;

    /**
     * 库水特征码
     */
    @TableField(value = "RWCHRCD")
    private String rwchrcd;

    /**
     * 库水水势
     */
    @TableField(value = "RWPTN")
    private String rwptn;

    /**
     * 入流时段长
     */
    @TableField(value = "INQDR")
    private BigDecimal inqdr;

    /**
     * 测流方法
     */
    @TableField(value = "MSQMT")
    private String msqmt;



    public static final String COL_TM = "TM";

    public static final String COL_STCD = "STCD";

    public static final String COL_RZ = "RZ";

    public static final String COL_INQ = "INQ";

    public static final String COL_W = "W";

    public static final String COL_BLRZ = "BLRZ";

    public static final String COL_OTQ = "OTQ";

    public static final String COL_RWCHRCD = "RWCHRCD";

    public static final String COL_RWPTN = "RWPTN";

    public static final String COL_INQDR = "INQDR";

    public static final String COL_MSQMT = "MSQMT";
}